package org.gienah.harness.artifacts;

import org.springframework.transaction.TransactionException;
import org.springframework.transaction.TransactionStatus;

/**
 * @author Santiago L. Valdarrama
 */
public class MockTransactionStatus
		implements TransactionStatus {

	public boolean hasSavepoint() {
		return false;
	}

	public boolean isCompleted() {
		return false;
	}

	public boolean isNewTransaction() {
		return false;
	}

	public boolean isRollbackOnly() {
		return false;
	}

	public void setRollbackOnly() {
	}

	public Object createSavepoint()
			throws TransactionException {
		return null;
	}

	public void releaseSavepoint(final Object savepoint)
			throws TransactionException {
	}

	public void rollbackToSavepoint(final Object savepoint)
			throws TransactionException {
	}

}
